declare global{
    //发送到unity的数据格式
    interface SendUnityData {
        type: MessageType,
        data: any
    }
    export enum MessageType {
        setValue = 'setValue',
        setLock = 'setLock',
        run = 'run',
        pause = 'pause',
        stop = 'stop',
        custom='custom'
    }

}
